using net_work.Data.Enum.Cam;

namespace net_work.Data.DTO.Cam;

public class MessageAddRequest
{
    /// <summary>
    /// 备注
    /// </summary>
    public string? Remark { get; set; }

    /// <summary>
    /// 消息标题
    /// </summary>
    public required string Title { get; set; }

    /// <summary>
    /// 消息内容
    /// </summary>
    public required string Content { get; set; }

    /// <summary>
    /// 消息类型
    /// </summary>
    public required MessageType Type { get; set; }

    /// <summary>
    /// 对象类型
    /// </summary>
    public MessageObjType? ObjType { get; set; }

    /// <summary>
    /// 对象（外键）
    /// </summary>
    public long? ObjId { get; set; }
}